package com.sjb.sixteen_journey_backend.service;

import com.sjb.sixteen_journey_backend.common.R;
import com.sjb.sixteen_journey_backend.entity.OthersTicket;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 其他晒单表 服务类
 * </p>
 *
 * @author jcz
 * @since 2024-07-13
 */
public interface IOthersTicketService extends IService<OthersTicket> {

    R addOthersTicket(OthersTicket othersTicket);
//    R addOthersTicket(OthersTicket othersTicket, ArrayList<MultipartFile> images);

    R deleteOthersTicketById( Integer id);
//    R deleteOthersTicketById(Integer status, Integer id);

    R<List<OthersTicket>> showAllOthersTicket();

    R showAllOthersTicketById(Integer id,Boolean f);

    R<List<OthersTicket>> showAllOthersTicketByUserId();

    OthersTicket setCountAndFollow(OthersTicket myTime);
}
